var crypto = require('crypto')

function md5(password) {
	var saltPassword = password + 'yy';
	var md5 = crypto.createHash('md5');
	var result = md5.update(saltPassword).digest('hex');
	return result;
}

module.exports = md5;